package com.ttbj.api.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.ttbj.product.bean.dto.DriverDto;

public class CostSharingDto implements Serializable{
	
	private static final long serialVersionUID = 4267145780145901810L;
	private Long costSharingId;	//主键
	private String orderNum;	//订单编号
	private String driverNum;	//司机编号
	private String companyNum;	//公司编号
	private String webCarriage;	//总费用
	private String platFormCostSharing;	//平台分成费用
	private String companyCostSharing;	//公司分成费用
	private String driverCostSharing;	//司机分成费用
	private Integer costSharingType;	//类型：1为短运，2为长运
	private Date insTime;	//分成时间
	
	private String eachDate;	//增加字段，用于封装统计时间

	private String paymentOrderNo;	//支付订单号
	private String status;	//分账状态：0失败，1成功
	private String retInfo;	//分账响应信息如：账户不存在或状态异常
	private String retCode;	//应答代码如：BC001F
	private String data;	//当不是因为程序问题，造成存放json数据
	
	private AccountNoDto accountNo;	//各个账户号
	private List<CutPayCostDto> cutPayCosts;	//分账信息
	private DriverDto driver;	//司机
	private CompanyDto company;	//公司
	
	private String startDate;	//开始时间，用于条件查询
	private String endDate;	//结束时间，用于条件查询
	
	
//	tostring
	
	public String getPaymentOrderNo() {
		return paymentOrderNo;
	}

	public void setPaymentOrderNo(String paymentOrderNo) {
		this.paymentOrderNo = paymentOrderNo;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRetInfo() {
		return retInfo;
	}

	public void setRetInfo(String retInfo) {
		this.retInfo = retInfo;
	}

	public Long getCostSharingId() {
		return costSharingId;
	}

	public void setCostSharingId(Long costSharingId) {
		this.costSharingId = costSharingId;
	}

	public String getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}

	public String getDriverNum() {
		return driverNum;
	}

	public void setDriverNum(String driverNum) {
		this.driverNum = driverNum;
	}

	public String getCompanyNum() {
		return companyNum;
	}

	public void setCompanyNum(String companyNum) {
		this.companyNum = companyNum;
	}
	
	public String getWebCarriage() {
		return webCarriage;
	}

	public void setWebCarriage(String webCarriage) {
		this.webCarriage = webCarriage;
	}

	public String getPlatFormCostSharing() {
		return platFormCostSharing;
	}

	public void setPlatFormCostSharing(String platFormCostSharing) {
		this.platFormCostSharing = platFormCostSharing;
	}

	public String getCompanyCostSharing() {
		return companyCostSharing;
	}

	public void setCompanyCostSharing(String companyCostSharing) {
		this.companyCostSharing = companyCostSharing;
	}

	public String getDriverCostSharing() {
		return driverCostSharing;
	}

	public void setDriverCostSharing(String driverCostSharing) {
		this.driverCostSharing = driverCostSharing;
	}

	public Integer getCostSharingType() {
		return costSharingType;
	}

	public void setCostSharingType(Integer costSharingType) {
		this.costSharingType = costSharingType;
	}

	public Date getInsTime() {
		return insTime;
	}

	public void setInsTime(Date insTime) {
		this.insTime = insTime;
	}

	public String getEachDate() {
		return eachDate;
	}

	public void setEachDate(String eachDate) {
		this.eachDate = eachDate;
	}

	public String getRetCode() {
		return retCode;
	}

	public void setRetCode(String retCode) {
		this.retCode = retCode;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public AccountNoDto getAccountNo() {
		return accountNo;
	}

	public void setAccountNo(AccountNoDto accountNo) {
		this.accountNo = accountNo;
	}

//	public DriverDto getDriver() {
//		return driver;
//	}
//
//	public void setDriver(DriverDto driver) {
//		this.driver = driver;
//	}

	public CompanyDto getCompany() {
		return company;
	}

	public void setCompany(CompanyDto company) {
		this.company = company;
	}

	public List<CutPayCostDto> getCutPayCosts() {
		return cutPayCosts;
	}

	public void setCutPayCosts(List<CutPayCostDto> cutPayCosts) {
		this.cutPayCosts = cutPayCosts;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	
}
